package com.kirayous.gulimall.authserver.feign;

import com.kirayous.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author KiraYous
 * @version V1.0
 * @Package com.kirayous.gulimall.authserver.feign
 * @date 2022/4/4 4:02
 */
@FeignClient("gulimall-third-part")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}